package com.dot.api;

import com.dot.core.res.ApiResult;
import com.dot.dao.TasksMapper;
import com.dot.service.TasksService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/tasks")
public class TasksController {
    @Autowired
    private TasksService tasksService;

    @RequestMapping("/updTasks")
    public void updTasks(){
        tasksService.updTasks();

    }

}
